#pragma once

#include "IncidenceGraph.h"


#include <string>
#include <sstream>
#include <fstream>
#include <iostream>		// cout
using namespace std;


#ifndef UNICODE  
typedef std::string String;
typedef std::ifstream Ifstream;
typedef std::ofstream Ofstream;
typedef std::stringstream Stringstream;
#else
typedef std::wstring String;
typedef std::wifstream Ifstream;
typedef std::wofstream Ofstream;
typedef std::wstringstream Stringstream;
#endif


class LayoutWriter
{
public:
	LayoutWriter(IncidenceGraph &g);
	~LayoutWriter();

	bool Write(String fileName);

private:
	IncidenceGraph& graph;
};

